#include <jni.h>

#ifndef _Included_com_auicyh_tylb_comm_SerialPort
#define _Included_com_auicyh_tylb_comm_SerialPort
#ifdef __cplusplus
extern "C" {
#endif

/**
 * 打印测试
 * @param env
 * @return
 */
JNIEXPORT jstring JNICALL
Java_com_auicyh_tylb_comm_SerialPort_stringFromJNI(JNIEnv *env, jobject/* this */);



/**
 * 打开串口
 */
JNIEXPORT jobject JNICALL
Java_com_auicyh_tylb_comm_SerialPort_open(JNIEnv *, jclass, jstring, jint, jint);


/*
 * Class:     com_ads_oil_util_SerialPort
 * Method:    关闭串口Aei
 * Signature: ()V
 */
JNIEXPORT void JNICALL Java_com_auicyh_tylb_comm_SerialPort_close(JNIEnv *, jobject);


#ifdef __cplusplus
}
#endif
#endif
